package qumaimai.entity;

public class BaseOrder {

	private int id;
	private int userId;
	private String createTime;
	private String orderNo;
	private int addressId;
	private int status;
	private double money;
	private String waybill;
	public BaseOrder() {
		super();
	}
	public BaseOrder(int id, int userId, String createTime, String orderNo, int addressId, int status, double money) {
		super();
		this.id = id;
		this.userId = userId;
		this.createTime = createTime;
		this.orderNo = orderNo;
		this.addressId = addressId;
		this.status = status;
		this.money = money;
	}
	
	public BaseOrder(int id, int userId, String createTime, String orderNo, int addressId, int status, double money,
			String waybill) {
		super();
		this.id = id;
		this.userId = userId;
		this.createTime = createTime;
		this.orderNo = orderNo;
		this.addressId = addressId;
		this.status = status;
		this.money = money;
		this.waybill = waybill;
	}
	@Override
	public String toString() {
		return "BaseOrder [id=" + id + ", userId=" + userId + ", createTime=" + createTime + ", orderNo=" + orderNo
				+ ", addressId=" + addressId + ", status=" + status + ", money=" + money + "]";
	}
	
	public String getWaybill() {
		return waybill;
	}
	public void setWaybill(String waybill) {
		this.waybill = waybill;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getUserId() {
		return userId;
	}
	public void setUserId(int userId) {
		this.userId = userId;
	}
	public String getCreateTime() {
		return createTime;
	}
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	public String getOrderNo() {
		return orderNo;
	}
	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}
	public int getAddressId() {
		return addressId;
	}
	public void setAddressId(int addressId) {
		this.addressId = addressId;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public double getMoney() {
		return money;
	}
	public void setMoney(double money) {
		this.money = money;
	}
	
}